package com.sanrenzu.chunbo.dao;

import android.support.annotation.IntegerRes;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by My on 2016/9/3.
 */
@DatabaseTable(tableName = "shopping")
public class Collection {
    @DatabaseField(generatedId = true)
    private int id;
    @DatabaseField
    private String name;
    @DatabaseField
    private String password;
    @DatabaseField
    private String productId;
    @DatabaseField
    private String product_images;
    @DatabaseField
    private String productName;
    @DatabaseField
    private String productMarketPrice;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductMarketPrice() {
        return productMarketPrice;
    }

    public void setProductMarketPrice(String productMarketPrice) {
        this.productMarketPrice = productMarketPrice;
    }
    public String getProduct_images() {
        return product_images;
    }

    public void setProduct_images(String product_images) {
        this.product_images = product_images;
    }

    public Collection(int id, String name, String password, String productId,  String productName, String productMarketPrice) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.productId = productId;
        this.productName = productName;
        this.productMarketPrice = productMarketPrice;
    }

    public Collection() {
    }
}

